﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.ZBDLRY
{
    public class h_projectBzk_New
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public Int32? ClassID { get; set; }
        public Int32? TreeID { get; set; }
        public String Code { get; set; }
        public Byte? bKind { get; set; }
        public String Title { get; set; }
        public String Address { get; set; }
        public Double? Areas { get; set; }
        public Double? Cost { get; set; }
        public String CorpName { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? StartDate { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? EndDate { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? RegisterDate { get; set; }
        public Byte? bStatus { get; set; }
        public Byte? bSoueceFlag { get; set; }
        public Int32? AuthorID { get; set; }
        public String Remark { get; set; }
        public Int32? StructType { get; set; }
        public Int32? ProjectKind { get; set; }
        public String LevelNum { get; set; }
        public Int32? BuildKind { get; set; }
        public String BuildHeight { get; set; }
        public String BuildSpan { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? CheckDate { get; set; }
        public Byte? bKQKH { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? GetDateTime { get; set; }
        public Guid? keyGUID { get; set; }
        public String ProjectFoundation { get; set; }
        public Int32? RightCode { get; set; }
        public Int32? ProjectSbType { get; set; }
        public String AreaCode { get; set; }
        public Int32? ProjectType { get; set; }
        public Boolean? IsDel { get; set; }
        public String Owner { get; set; }
        public Int32? IsrtUser { get; set; }
        public String IsrtUserName { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? IsrtDate { get; set; }
        public String OwnerContact { get; set; }
        public Byte? AreasUnit { get; set; }
        public String ProjectTime { get; set; }
        public String OvergroundLvNum { get; set; }
        public String UndergroundLvNum { get; set; }
        public String AwardType { get; set; }
        public Int32? ProjectSbSubType { get; set; }
        public String ProjectContent { get; set; }
        public Int32? BusinessType { get; set; }
        public String Tenement { get; set; }
        public Int32? MoneySource { get; set; }
        public String MoneyProportion { get; set; }
        public Double? ContractEstimatedMoney { get; set; }
        public String IsrtAreaCode { get; set; }
        public Byte? ProjectProgress { get; set; }
        public String SiteManager { get; set; }
        public String SiteManagerTel { get; set; }
        public String OwnerTel { get; set; }

        [NotMapped]
        //施工主体单位
        public string SGCorpName { get; set; }
        [NotMapped]
        //施工单位主体项目经理
        public string SGCorpManager { get; set; }
        [NotMapped]
        //监理主体单位
        public string JLCorpName { get; set; }
        [NotMapped]
        //监理主体单位项目总监
        public string JLCorpManager { get; set; }
    }

}
